/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.thinkgem.jeesite.modules.source.entity.logo;

import java.util.List;

import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlTransient;

import org.hibernate.validator.constraints.Length;

import com.thinkgem.jeesite.common.persistence.DataEntity;
import com.thinkgem.jeesite.modules.sys.entity.User;

/**
 * logo增删改查Entity
 * @author unnamed
 * @version 2017-11-20
 */
@XmlRootElement(name="logocfg")
public class EleSourceLogo extends DataEntity<EleSourceLogo> {
	
	private static final long serialVersionUID = 1L;
	private String name;		// name
	private String path;		// 标题内容
	
	public EleSourceLogo() {
		super();
	}

	public EleSourceLogo(String id){
		super(id);
	}
	public List<User> users = null;

	@XmlTransient
	public List<User> getUsers() {
		return users;
	}

	public void setUsers(List<User> users) {
		this.users = users;
	}
	@XmlTransient
	@Length(min=0, max=255, message="name长度必须介于 0 和 255 之间")
	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}
	
	@Length(min=1, max=255, message="标题内容长度必须介于 1 和 255 之间")
	public String getPath() {
		return path;
	}

	public void setPath(String path) {
		this.path = path;
	}
	
}